package com.jiantong.work.service;

import com.jiantong.work.model.BeastsBreedStockMessage;
import io.terminus.common.model.Response;

import java.util.List;

/**
 * 数据分析 - 存栏合计统计
 *
 * Created by mz03 on 2017/4/15.
 */
public interface BeastsBreedStockMessageWriteService {

    /**
     * 添加一条
     * @param beastsBreedStockMessage
     * @return long 创建后返回ID
     */
    Response<Long> create(BeastsBreedStockMessage beastsBreedStockMessage);


    Response<Integer> createBeastsBreedStockMessages(List<BeastsBreedStockMessage> beastsBreedStockMessages);


    /**
     * 更新一条
     * @param beastsBreedStockMessage
     * @return boolean 是否更新成功
     */
    Response<Boolean> update(BeastsBreedStockMessage beastsBreedStockMessage);

}
